package cc.linker.steplink.crm.merchanth5.dao.acs;

import cc.linker.steplink.crm.merchanth5.pojo.acs.PromoterCluePo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface PromoterClueDao {

    List<PromoterCluePo> getList(@Param("promoterId") String promoterId,@Param("type") Integer type);

    List<PromoterCluePo> getCustomerClueList(@Param("promoterId") String promoterId,@Param("customerId")  String customerId,@Param("type")  Integer type);

    Map getCustomerInfo(@Param("promoterId") String promoterId,@Param("customerId")  String customerId);

    void addClue(Map<String, Object> params);

    Integer getPromoterCount(@Param("promoterId") String promoterId);

    Integer getIsPromotByGoods(Map<String, Object> params);

    Integer getIsPromotByEnroll(Map<String, Object> params);

    Integer getIsPromotByVip(Map<String, Object> params);

    Map getCustomerMap(Map<String, Object> params);

}
